package com.ylxin.smartplatform.exceptions;

/**
 * @author 29048
 * @version V1.0
 * @Project smartplatform
 * @Package com.ylxin.smartplatform.exceptions
 * @Description: 自定义异常
 * Create by 杨立新 @Date 2022/9/5 16:40
 */
public class MyBaseException extends RuntimeException{

    private int code;

    public MyBaseException(String message, int code) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
